home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / aros / source / exec / lists / tests / makefile < prev    next >
Encoding:
Makefile  |  1996-07-16  |  677 b   |  44 lines

  1.  
  2. TOP_DIR     = prj:
  3. CURRENT_DIR    = source/exec/lists/
  4.  
  5. include $(TOP_DIR)MakeFlags
  6.  
  7. SRC        = test.c
  8. OBJ        = test$(OPT_SUFFIX).o
  9. EXE        = test$(OPT_SUFFIX)
  10. LIB        = $(PARENT_DIR)exec_lists$(OPT_SUFFIX).lib
  11. LIBS        = Lib $(LIB)
  12.  
  13. USR_DIST_FILES    =
  14. DEV_DIST_FILES    = Makefile test.c
  15.  
  16. INCLUDES    =   IDir /include \
  17.             IDir $(TOP_DIR)include
  18.  
  19. all :: $(EXE)
  20.  
  21. install ::
  22.     $(nothing-to-be-done)
  23.  
  24. clean ::
  25.     -$(RM) $(OBJ) $(EXE)
  26.     $(done-with-it)
  27.  
  28. check :: all
  29.     $(EXE)
  30.     $(done-with-it)
  31.  
  32. dist ::
  33.     $(do-dist)
  34.  
  35. $(EXE) : $(OBJ) $(LIB)
  36.     $(CC) Link To $(EXE) $(OBJ) $(LIBS)
  37.  
  38. $(OBJ) : $(SRC)
  39.     -$(RM) $(OBJ)
  40.     $(CC) $(INCLUDES) test.c
  41.     -$(MV) test.o $(OBJ)
  42.  
  43. test.o : /include/exec/lists.h /include/exec/nodes.h
  44.